Piwik\NumberFormatter S

Total Complexity 36
Dependencies 4
Dependents 17
Total lines 290
Lines of code 129
Logical lines of code 78
Comment lines 109
Methods 13
Properties 3

Methods 13

Method Rating Maintainability Complexity Lines of code
formatNumberWithPattern()
A
43 12 45
formatPercentEvolution()
S
63 4 9
formatCurrency()
S
60 3 13
format()
S
66 3 8
getPattern()
S
64 3 9
replaceSymbols()
S
60 2 13
parsePattern()
S
67 2 7
formatPercent()
S
66 2 8
__construct()
S
81 1 3
formatNumber()
S
74 1 4
isNegative()
S
80 1 3
getInstance()
S
80 1 3
clearCache()
S
77 1 4